import 'package:bubbles/http/api/apis.dart';
import 'package:get/get.dart';

import '../../models/version.dart';
import '../dio_client.dart';
import 'http_config.dart';

class ApiService extends GetxService {
  Future<Version?> getVersion({onError}) {
    return DioClient.instance.post<Version>(Apis.getVersion, onError: onError);
  }
}
